package com.siyu.predict.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.siyu.basedata.pptnrsence.domain.PptnRSence;
import com.siyu.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RainSenceDto {
    @Excel(name = "降雨情景名称")
    private String senceName;

    /**
     * 降雨情景描述
     */
    @Excel(name = "降雨情景描述")
    private String senceDetail;

    /**
     * 水库编码
     */
    @Excel(name = "水库编码")
    private String rscd;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 情景降雨数据
     */
    private List<PptnRSence> datas;

    /**
     * 预报类型
     */
    @Excel(name = "预报类型")
    private String preType;
}
